Package com.cisco.pt.ipc.sim.pdu.impl
Class DTPFrameImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.DTPFrameImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected MACAddressprotected SwitchPortModeprotected booleanprotected ByteFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) booleangetType()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetDomainName(String domainName) voidsetNeighborMac(MACAddress neighborMac) voidsetStatus(SwitchPortMode status) voidsetType(boolean type) voidsetVersion(Byte version) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
version
-
domainName
-
type
protected boolean type -
status
-
neighborMac
-
-
Constructor Details
-
DTPFrameImpl
public DTPFrameImpl()
-
-
Method Details
-
getVersion
- Specified by:
getVersionin interfaceDTPFrame- Returns:
- Byte Returns a Byte
-
setVersion
- Specified by:
setVersionin interfaceDTPFrame- Parameters:
version- Takes in a parameter of version
-
getDomainName
- Specified by:
getDomainNamein interfaceDTPFrame- Returns:
- String Returns a String
-
setDomainName
- Specified by:
setDomainNamein interfaceDTPFrame- Parameters:
domainName- Takes in a parameter of domainName
-
getType
public boolean getType() -
setType
public void setType(boolean type) -
getStatus
-
setStatus
-
getNeighborMac
- Specified by:
getNeighborMacin interfaceDTPFrame- Returns:
- MACAddress Returns a MACAddress
-
setNeighborMac
- Specified by:
setNeighborMacin interfaceDTPFrame- Parameters:
neighborMac- Takes in a parameter of neighborMac
-
getFieldType
- Overrides:
getFieldTypein classPduImpl
-
read
Reads this object from an EncodedBuffer of raw data -
pduRead
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classPduImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classPduImpl
-